package com.example.skillcinema.db.models

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class Award(
    @Json(name = "name")val name: String,
    @Json(name = "win")val win: Boolean,
    @Json(name = "imageUrl")val imageUrl: String?,
    @Json(name = "nominationName")val nominationName: String,
    @Json(name = "year")val year: Int,
    @Json(name = "persons")val persons: List<AwardPerson>
)
